// pages/home/index.js
Page({

  /**
   * 页面的初始数据
   */
  data: {
    background: ['红色', '黄色', '绿色'],
    vertical: false,
    autoplay: true,
    interval: 1000,
    duration: 100,
    tagName:['资源','信息','旅游'],
    elementData:[
      {
        tagMessage:"20块小时短期工可预支",
        address:"沙井",
        workType:"钟点工",
        companyName:"深圳市天启劳务派遣有限公司",
        money:100,
        eachType:"元/天",
        buttonDisabled: true
      },
      {
        tagMessage: "18块小时短期工可预支",
        address: "东莞",
        workType: "钟点工",
        companyName: "深圳市天启劳务派遣有限公司",
        money: 100,
        eachType: "元/天",
        buttonDisabled:false
      },
      {
        tagMessage: "19块小时短期工可预支",
        address: "塘坑",
        workType: "钟点工",
        companyName: "深圳市天启劳务派遣有限公司",
        money: 100,
        eachType: "元/天",
        buttonDisabled:true
      },
      {
        tagMessage: "20块小时短期工可预支",
        address: "沙井",
        workType: "钟点工",
        companyName: "深圳市天启劳务派遣有限公司",
        money: 100,
        eachType: "元/天",
        buttonDisabled:false
      },
      {
        tagMessage: "20块小时短期工可预支",
        address: "龙华",
        workType: "钟点工",
        companyName: "深圳市天启劳务派遣有限公司",
        money: 100,
        eachType: "元/天",
        buttonDisabled:false
      },
      {
        tagMessage: "20块小时短期工可预支",
        address: "龙岗",
        workType: "钟点工",
        companyName: "深圳市天启劳务派遣有限公司",
        money: 100,
        eachType: "元/天",
        buttonDisabled:true
      },
      {
        tagMessage: "20块小时短期工可预支",
        address: "沙井",
        workType: "钟点工",
        companyName: "深圳市天启劳务派遣有限公司",
        money: 100,
        eachType: "元/天",
        buttonDisabled:true
      }
    ],
    buttonName:"投简历"

  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function (options) {

  },

  /**
   * 生命周期函数--监听页面初次渲染完成
   */
  onReady: function () {

  },

  /**
   * 生命周期函数--监听页面显示
   */
  onShow: function () {

  },

  /**
   * 生命周期函数--监听页面隐藏
   */
  onHide: function () {

  },

  /**
   * 生命周期函数--监听页面卸载
   */
  onUnload: function () {

  },

  /**
   * 页面相关事件处理函数--监听用户下拉动作
   */
  onPullDownRefresh: function () {

  },

  /**
   * 页面上拉触底事件的处理函数
   */
  onReachBottom: function () {

  },

  /**
   * 用户点击右上角分享
   */
  onShareAppMessage: function () {

  },

})
